<li class="tag">
<a href="{% url 'images-tag' %}?query={{tag.text|urlencode}}&exact=on">{{ tag.text }}</a> 
{% if recipient_owner %}
    {% if user == tag.tagger or user == recipient_owner %}
    <a class="tag_delete confirm" 
       title="Are you sure you want to delete this tag?"
       href="{% url 'tag_delete' category=category recipient_id=recipient_id tag_id=tag.pk %}{% if next %}?next={{next}}{% endif %}">[remove]</a>
    {% endif %}
{% endif %}
</li>
